package cn.tworice.monitor.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "tworice.monitor")
public class MonitorProperties {
    private Boolean flow = false;

    private Integer storage = 300;

    private Integer limit = 200;

    private Long refuse = 60000L;

    private String email;
}
